<template>
    <div>
        <m-header title="首页" :home="true"></m-header>
        <router-view></router-view>
        <footer>
            <router-link to="/home/main" tag="span">首页</router-link>
            <router-link to="/home/audio" tag="span">视频</router-link>
            <router-link to="/home/news" tag="span">新闻</router-link>
            <router-link to="/home/data" tag="span">数据</router-link>
        </footer>
    </div>
</template>
<script>
import mHeader from '../components/m-header'
export default {
    components:{
        mHeader
    }
}
</script>
<style>
.active{
    color:red;
}
</style>

